﻿@{
    ViewBag.Title = "Json 参数设置";

    ViewBag.jQuery = true;
    ViewBag.jQueryUI = true;
    ViewBag.Json = true;
    ViewBag.Global = true;

    ViewBag.Css = "/Content/ViewSetting/Site.css";
    ViewBag.Js = "/Content/" + ViewContext.RouteData.Values["ViewForder"] + "/" + ViewContext.RouteData.Values["ViewName"] + ".js";
    
    Layout = "~/Views/_Template.cshtml";
}
<table id="MainTable" cellpadding="0" cellspacing="4">
    <tr><td class="PageTitle"><div class="Title">@ViewBag.Title</div><input type="hidden" name="UrlReferrer" value="@Html.Raw(ViewBag.UrlReferrer)" /><input type="hidden" name="UrlAction" value="@Html.Raw(ViewBag.UrlAction)" /></td></tr>
    <tr><td class="Unit"><div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">配置文件</td><td class="Input"><input type="text" value="@ViewBag.FilePath" readonly="readonly" style="width:500px" /></td></tr></table></div></td></tr>
    <tr><td class="Unit"><div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">配置参数</td><td class="Input"><textarea class="Required" name="JsonSetting" title="配置参数（必填项目，请使用 Json 数据格式）" style="width:900px;height:500px">@ViewBag.JsonSetting</textarea></td></tr></table></div></td></tr>
    <tr><td class="ButtonUnit"><button id="ButtonSave">保存</button><button id="ButtonBack">返回</button></td></tr>
</table>